<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<{$Charset}>">
<title>商务室 - <{$sitetitle}></title>
<link href="<{$CSS_PATH}>css/style.css" rel="stylesheet" type="text/css">
<link href="<{$INC_PATH}>css/room.css" rel="stylesheet" type="text/css">
<script language="javascript" src="<{$INC_PATH}>js/general.js"></script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr> 
    <td height="83"><{include file="default/element.top.html"}></td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr align="center" valign="top">
    <td width="180" align="center" background="<{$tpl_img_path}>office/left_bg.gif"><{include file="room/menu.html"}></td>
    <td><table  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><img src="<{$tpl_img_path}>office/banr_pic.gif" width=570 height=101 alt=""></td>
      </tr>
    </table>
      <table width="95%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="45" background="<{$tpl_img_path}>office/title_bg.gif"><table height="30" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td>&nbsp;</td>
                <td class="font14b_org"><img src="<{$tpl_img_path}>office/icon_newd.gif" width="15" height="16"> 我的产品信息 </td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td height="5" valign="top" class="bggray2"></td>
        </tr>
      </table>
      <table width="95%" border="0" cellpadding="2" cellspacing="0">
        <tr>
          <td class="tdright">（提示：已经发布成供应信息的产品，请不要重复发布。如果您想提高发布效果，请进入<br>
“<a href="trade.php" class="orange">修改我的供求信息</a>”使用重发功能，使信息排名靠前）</td>
        </tr>
      </table>      
      <br>
      <table width="95%"  border="0" cellpadding="3" cellspacing="1" bgcolor="#DFDFDF">
        <tr>
          <td bgcolor="#FFFFFF">
		  <form name="typefrm" id="typefrm" method="get" action="">
		  <table width="100%" height="35" border="0" cellpadding="0" cellspacing="0" class="bggray">
            <tr>
              <td> 　按
                  <select name="product_type" onChange="sort(this.form);">
                    <option value="0">全部分类</option>
				  <{foreach from=$ProductTypes item=pt name=listprodtypes}>
				  <option value="<{$pt.ID}>" <{if $pt.ID == $smarty.get.sid}>selected<{/if}>><{$pt.Name}></option>
					<{/foreach}>
                  </select>
&nbsp;&nbsp;</td>
              <td align="right"><a href="productedit.php"><img src="<{$tpl_img_path}>office/post_product.gif" width="90" height="27" border="0"></a></td>
            </tr>
          </table>
		  </form><div id="msg" align="center"><{$Msg}></div></td>
        </tr>
      </table>
      <br>
      <table width="95%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><table width="100%" border="0" cellpadding="5" cellspacing="0">
		  <!-- product -->
		  <{foreach item=pd from=$ProductList name=prod_list}>
            <tr align="center">
              <td align="center"><table width="100%" border="0" align="center" cellpadding="2" cellspacing="0" class="zi">
                <tr>
                  <td width="16%"><table border="0" cellpadding="2" cellspacing="1" class="bglist">
                      <tr>
                        <td bgcolor="#FFFFFF"><img src="<{if $pd.ProductPicture!=''}><{$attachment_dir}><{$pd.ProductPicture}><{else}>../media/default/small.gif<{/if}>" width=75 height=75></td>
                      </tr>
                  </table></td>
                  <td colspan="2" style='word-break: break-all'><{$pd.Name|truncate:25}>【<{if $pd.ProductState eq 1}><span class="fontgreen">已上架</span><{else}><span class="fontred">已下架</span><{/if}>】 【<{$CheckStatus[$pd.ProductStatus]}>】(<{$ProductSorts[$pd.ProductSortId]|default:"普通商品"}>)&nbsp;&nbsp; <a href="<{$SiteUrl}>product/content.php?id=<{$pd.ID}>" target="_blank" title="点击预览"><img src="<{$tpl_img_path}>office/preview.gif" border="0" /></a> <{if $pd.ProductPicture!=""}><a href="<{$SiteUrl}>attachment.php?source=<{$pd.ProductPicture}>" target="_blank" title="点击查看大图"><img src="<{$tpl_img_path}>office/havepic.gif" border="0" /></a><{/if}><br />
      型 号： <{$pd.SerialNumber}> <br />
      描 述： <{$pd.Description|truncate:100}></td>
                </tr>
                <tr align="right">
                  <td colspan="3" class="btn-input">
				  <{if $pd.ProductState eq 1}><a href="<{$smarty.server.PHP_SELF}>?action=state&type=down&id=<{$pd.ID}>">从网上下架</a><{else}><a href="<{$smarty.server.PHP_SELF}>?action=state&type=up&id=<{$pd.ID}>">把商品上架</a><{/if}>&nbsp;<a href="productedit.php?action=mod&id=<{$pd.ID}>">修改</a>&nbsp;<a href="tradeedit.php?action=pro2offer&proid=<{$pd.ID}>"><b>发布为供应信息</b></a>&nbsp;<a href="<{$smarty.server.PHP_SELF}>?act=del&id=<{$pd.ID}>">删除</a>				  </td>
                  </tr>
                <tr>
                  <td height="1" colspan="3" background="image/index_trade_line.gif"></td>
                </tr>
              </table></td>
              </tr>
		  <{/foreach}>
		  <!-- :~product  -->
            <tr align="center">
              <td height="15" align="center"><table width="100%"  border="0" cellspacing="0" cellpadding="1">
                <tr>
                  <td height="1" background="<{$tpl_img_path}>office/index_trade_line.gif"></td>
                </tr>
              </table></td>
            </tr>
          </table></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td height="1" background="<{$tpl_img_path}>office/index_trade_line.gif"></td>
        </tr>
        <tr>
          <td align="center"><{$ByPages}></td>
        </tr>
      </table>
            <br>
      <table width="555" border="0" cellpadding="2" cellspacing="2" class="zi">
        <tr bgcolor="#FFE1B5">
          <td width="125"><div align="center">可发布的产品总数</div></td>
          <td width="91"><div align="center">已发布</div></td>
          <td width="73"><div align="center">等待审核</div></td>
          <td width="92"><div align="center">审核未通过</div></td>
          <td width="134"><div align="center">还可以发布的产品个数</div></td>
        </tr>
        <tr align="center" bgcolor="#EBEBEB">
          <td><{$CountProduct.max}>个</td>
          <td><{$Amount|default:"0"}>个</td>
          <td><{$CountProduct[0]|default:"0"}>个</td>
          <td><{$CountProduct[2]|default:0}>个</td>
          <td><{$Remain}>个</td>
        </tr>
      </table>
    <br></td>
  </tr>
</table>
<{include file="room/foot.html"}>
</body>
</center>
 </html>

